﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DBQLTV;

namespace BUS
{
    public class PhieuTraSachBUS
    {

        PhieuTraSachDAO phieuTraDAO = new PhieuTraSachDAO();
        public int InsertPhieuTraSach(int TienPhatKyNay, int TienNoKyNay, int MaDG, string NgayTra)
        {
            return phieuTraDAO.InsertPhieuTraSach(TienPhatKyNay, TienNoKyNay, MaDG, NgayTra);
        }
        public List<int> DeletePhieuTraSach(int MaDG)
        {
            return phieuTraDAO.DeletePhieuTraSach(MaDG);
        }
        public List<int> GetListPhieuTraSach(int MaDG)
        {
            return phieuTraDAO.GetListPhieuTraSach(MaDG);
        }
        public PHIEUTRASACH GetPhieuTraSach(int MaPTS)
        {
            return phieuTraDAO.GetPhieuTraSach(MaPTS);
        }
    }
}
